package com.agile.major.repository;

import com.agile.major.domain.MajorTraning;
import com.agile.major.domain.TraningDataHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;


/**
 * Spring Data JPA repository for the TraningDataHistory entity.
 */
@SuppressWarnings("unused")
@Repository
public interface TraningDataHistoryRepository extends JpaRepository<TraningDataHistory, Long> {

    Page<TraningDataHistory> findTraningDataHistoriesByTraning(MajorTraning traning, Pageable page);

}
